package com.huilian.iotbox.admin.wap.service.impl;

import com.huilian.iotbox.admin.wap.dao.PushConfigUserDao;
import com.huilian.iotbox.admin.wap.service.PushConfigUserService;
import com.huilian.iotbox.data.po.PushConfigUser;
import com.huilian.iotbox.data.vo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PushConfigUserServiceImpl implements PushConfigUserService {

    @Autowired
    private PushConfigUserDao pushConfigUserDao;

    @Override
    public PushConfigUser findOneByUserId(UserInfo userInfo) {
        return pushConfigUserDao.findOneByUserId(userInfo);
    }
}
